package com.example.chatchatbackend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.chatchatbackend.entity.dto.send.SendAdv;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 丁真
 * @since 2024-10-28 05:03:47
 */
@Mapper
public interface SendAdvMapper extends BaseMapper<SendAdv> {

    void updateSendAdv(SendAdv sendAdv);

    void insertList(List<SendAdv> sendAdvList);

    List<SendAdv> selectAll();

    List<SendAdv> findSendAdvList(@Param("isSend")String isSend, @Param("currentTime") LocalDateTime currentTime);
}
